home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
SuperHack
/
SuperHack CD.bin
/
SCRIPTZ
/
ECWAR10.ZIP
/
ECINIS.ZIP
/
VARIABLE.TXT
< prev
Wrap
Text File
|
1996-04-03
|
1KB
|
28 lines
*****|VARIABLES|*****
- These are commonly referred to as vars.
- To set a var type /set -q %var value
I am going to diagram every part of that command.
SET I believe we know what this is.
-q This meaning the command is being done quietly.
% I think the best thing to do is think of the % as a $. Everyone is
familiar with the Remote section, and are familiar with the $ command. The %
in front of var is just like a $ in front of $nick.
var This is what you will be setting. An example is setting the var to count
how many ppl say the word dog. I would type this command to count how
many ppl say dog: /set -q %dog 0
value This is simply the value to set the var at.
Now, after I set the var like this: /set -q %dog 0 , I have to go the
Remote/Events section. Now this is a lot like everything else in events. So
to count how many ppl say dog I would type in events:
1:ON TEXT:*dog*:#:/inc %dog 1
That increases the number of ppl saying the word dog by one. This resource is
practically unlimited. The more ideas you have the better(or more cluttered)
you var section will be. This is very easy once you get the hang of it.
Another ex. of vars : /set -q %visitors 1, this meaning that you have
just your var to count the visitors. But... You still have to go to events and
type 1:ON JOIN:#:/inc %visitors 1 ....Get the picture?
If you have anymore questions, ask me on IRC.